package com.bot.nft.core.enums.op;

import lombok.Getter;

/**
 * 空投活动枚举类
 *
 * @author 张凯歌
 * @date 2024.1.24 18:33
 **/
@Getter
public enum AirdropEnum {
    //空投活动类型
    HOLD_CONDITION("持有限制", 0),
    LIST_CONDITION("白名单限制", 1),
    //空投删除标识
    DELETE("已删除", 0),
    NO_DELETE("未删除", 1),

    //空投活动状态
    DISABLE_STATUS("活动禁用中", 0),
    ENABLE_STATUS("活动启用中", 1),
    SNAPSHOT_STATUS("活动已快照", 2),
    ONGOING_STATUS("活动行中", 3),
    EXECUTED_STATUS("活动已经执行", 4),

    //白名单投递状态
    NO_DELIVERY_STATUS("未投递", 0),
    DELIVERY_STATUS("已投递", 1),

    //执行记录状态
    EXECUTION_SUCCESSFUL("执行成功", 0),
    EXECUTION_FAIL("执行失败", 1),

    //执行任务类型
    SNAPSHOT_TASK("快照任务", 0),
    DELIVERY_TASK("空投任务", 1),
    ;


    private final String name;

    private final Integer value;


    AirdropEnum(String name, Integer value) {
        this.name = name;
        this.value = value;
    }
}
